package com.dongdongshop.pojo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @ClassName OrderDTO
 * @Author RC
 * @date 2020.12.24 18:54
 */
public class OrderDTO implements Serializable {
    private Date createTime;//创建时间
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;//订单编号
    private String sellerId;//商家
    private String status;//支付状态
    private List<TbOrderItem> orderItem;//订单明细

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<TbOrderItem> getOrderItem() {
        return orderItem;
    }

    public void setOrderItem(List<TbOrderItem> orderItem) {
        this.orderItem = orderItem;
    }
}
